

package com.rshang.rsdp.router;

import com.rshang.rsdp.service.ITbRsdlRyxxService;
import org.apache.shiro.authz.annotation.RequiresAuthentication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/*
 * Copyright (c) 2017. Rushang Co.Ltd All Rights Reserved.
 * 项目名称:rsdp-base
 * 文件名称:DbrwRouter.java
 * 功能简介:待办任务路由控制器<br/>
 *
 * @create 2017-09-02
 * @author zhangjun
 */
@Controller
@RequiresAuthentication
@RequestMapping("/dbrw")
public class DbrwRouter extends BaseRouter {

    @Autowired
    ITbRsdlRyxxService ryService;


    @RequestMapping("/wb")
    public ModelAndView wb() {
        ModelAndView view = new ModelAndView("htxx/htxx_wb");
        view.addObject("result", ryService.get(request));
        return view;
    }

    @RequestMapping("/wbcx")
    public ModelAndView wbcx() {
        return new ModelAndView("htxx/htxx_wbcx");
    }

    @RequestMapping("/lzcx")
    public ModelAndView lzcx() {
        return new ModelAndView("htxx/htxx_lzcx");
    }
    
    @RequestMapping("/jpcx")
    public ModelAndView jpcx() {
        return new ModelAndView("htxx/htxx_jpcx");
    }
}
